package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class SituationOfEducation extends BaseDomain{

    private Long id;
    //毕业学校
    private String schoolOfGraduation;
    //所学专业
    private String major;
    //证明人
    private String certifier;
    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date beginDate;
    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date endDate;
    //备注
    private String remark;
    //staffId
    private Long staffId;
}